package com.rk.hosp;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author :Rk.
 * @date : 2022/10/26
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.rk")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.rk.cmn.client")
@MapperScan("com.rk.hosp.mapper")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
